package com.jasmine.auth.annotation;

import com.jasmine.auth.exception.UnauthorizedRequestException;
import com.jasmine.core.constants.enums.SysResponseCode;

import java.lang.annotation.*;

/**
 * 被此注解的接口将不允许被访问
 *
 * @see SysResponseCode#AUTH_FORBIDDEN 异常码
 * @see UnauthorizedRequestException 异常处理
 *
 * @author : jasmineXz
 */
@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface AuthReject {
}
